#!/usr/bin/env bash
ps -ef |egrep "php .*dealer_statistics.php" | awk '{print $2}' | xargs kill
nohup `which php` `pwd`/dealer_statistics.php >> /tmp/dealer_statistics.log &